<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<div class="bjui-pageContent">
	<!--百度地图容器-->
	<div
		style="width: 100%; height: 100%; border: #ccc solid 1px; font-size: 12px"
		id="container1"></div>
</div>
<script type="text/javascript">
	setTimeout("setPlace('${mapParam}')",1000); 
	function setPlace(myValue){
		var map2 = new BMap.Map("container1");
		var myGeo = new BMap.Geocoder();
		myGeo.getPoint(myValue, function(point){
	  	if (point) {
	    	map2.centerAndZoom(point, 16);
	    	map2.enableScrollWheelZoom();
	    	map2.addOverlay(new BMap.Marker(point));
	  	}
		}, map2);
	} 
</script>